package com.example.dou2204.login;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.webkit.WebViewClient;

import com.example.dou2204.R;
import com.example.dou2204.baseMVVM.BaseViewActivity;
import com.example.dou2204.databinding.ActivityXieyiBinding;

public class XieyiActivity extends BaseViewActivity<ActivityXieyiBinding> {


    @Override
    protected void initData() {

    }

    @Override
    protected void initView() {
        binding.wv.loadUrl("http://www.baidu.com");
        binding.wv.setWebViewClient(new WebViewClient());//让网页在项目内展示

    }

    @Override
    protected int bindLayout() {
        return R.layout.activity_xieyi;
    }
}